package com.czkt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.czkt.pojo.SysRight;
import com.czkt.pojo.SysRoleRight;
import com.czkt.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czkt.pojo.vo.SysUserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2024-06-19
 */
public interface ISysUserService extends IService<SysUser> {
    public SysUserVo getUserByLogin(String usrName, String usrPassword);

    public SysUserVo getUserByName(String usrName);
    public IPage<SysUserVo> selectPageVo(IPage<SysUserVo> page, SysUserVo sysUserVo);

    public List<SysRoleRight> getSysRoleById(long roleId);
}
